package cn.itsource.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author : 张金铭
 * @description :
 * @create :2022-11-08 10:32:00
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_employee")
public class Employee implements Serializable {
    private Long id;//id
    private String username;//登入账号
    private String email;//邮箱
    private String phone;//手机号
    private String salt;//盐值
    private String password;//密码
    @TableField(exist = false)
    private String comfirmPassword;//二次密码
    private Integer age;//年龄
    private Integer state;//状态
    private Long departmentId;//部门id
    private Long logininfoId;//关联的登录信息ID
    private Long shopId;//关联的店铺id
    private Long parentId;//员工的上级ID
    private Long managerId;//员工的上级经理ID
    private String headImg;//员工账号头像
}
